<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>供求信息 - 中国石材圈 - 全国首家石材综合信息网</title>
<link href="css/maincss.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="{config.webpath}css/pagination.css" />
<script src="js/jquery-1.11.1.min.js"></script>
<script type="text/javascript">
  $(function () {
        $("#yixuan").click(function(){
        	if($("#quanziList").css("display")=="none"){	
			$("#quanziList").show();
			$("#qzicon").removeClass("downicon").addClass("topicon");
			$("li").click(function(){
				$("#quanziList").hide();
				$("#qzicon").removeClass("topicon").addClass("downicon");
			});
			}else{
			$("#quanziList").hide();
			$("#qzicon").removeClass("topicon").addClass("downicon");
			}
        });
        $("#subdaohang").mouseover(function(){
        	$(".subnav").removeClass("cur").addClass();
        });
        $("#subdaohang").mouseout(function(){
        	$(".subnav").removeClass().addClass("subnav cur");
        });
    });
</script>
<script>
    $(function(){
        //通用头部搜索切换
        $('#search-hd .search-input').on('input propertychange',function(){
            var val = $(this).val();
            if(val.length > 0){
                $('#search-hd .pholder').hide(0);
            }else{
                var index = $('#search-bd li.selected').index();
                $('#search-hd .pholder').eq(index).show().siblings('.pholder').hide(0);
            }
        })
        $('#search-bd li').click(function(){
            var index = $(this).index();
            $('#search-hd .pholder').eq(index).show().siblings('.pholder').hide(0);
            $('#search-hd .search-input').eq(index).show().siblings('.search-input').hide(0);
            $(this).addClass('selected').siblings().removeClass('selected');
            $('#search-hd .search-input').val('');
        });
    })
</script>
</head>

<body id="gongqiu">
<!--页面头部-->
<%template src="_header.html"%>
<!--/页面头部-->
<!-- 面包屑导航 -->
<div class="location"><span>当前位置：</span><a href="#" target="_blank">中国石材圈</a> > <a href="#" target="_blank">供求信息</a></div>
<!-- /面包屑导航 -->
<!-- 供求信息筛选 -->
<div class="selectedInfo">
	<ul>
		<li>
			<dl>
				<dt>地区省份：</dt>
				<dd>
					<a href="#" class="active">不限</a>
					<a href="#">北京</a>
					<a href="#">天津</a>
					<a href="#">上海</a>
					<a href="#">重庆</a>
					<a href="#">河北</a>
					<a href="#">山西</a>
					<a href="#">辽宁</a>
					<a href="#">吉林</a>
					<a href="#">黑龙江</a>
					<a href="#">江苏</a>
					<a href="#">浙江</a>
					<a href="#">安徽</a>
					<a href="#">福建</a>
					<a href="#">江西</a>
					<a href="#">山东</a>
					<a href="#">河南</a>
					<a href="#">湖北</a>
					<a href="#">湖南</a>
					<a href="#">广东</a>
					<a href="#">海南</a>
					<a href="#">四川</a>
					<a href="#">贵州</a>
					<a href="#">云南</a>
					<a href="#">陕西</a>
					<a href="#">甘肃</a>
					<a href="#">青海</a>
					<a href="#">台湾</a>
					<a href="#">内蒙古</a>
					<a href="#">广西</a>
					<a href="#">西藏</a>
					<a href="#">宁夏</a>
					<a href="#">新疆</a>
					<a href="#">香港</a>
					<a href="#">澳门</a>
				</dd>
			</dl>
		</li>
		<li>
			<dl>
				<dt>石材分类：</dt>
				<dd>
					<%if(category_id==0)%>
					<a href="/gongying_list.aspx?category_id=0" class="active">不限</a>
					<%else%>
					<a href="/gongying_list.aspx?category_id=0">不限</a>
					<%/if%>
					<%set DataTable gongyingdt=get_gongying_category_list(0,"","sort_id asc")%>
					<%foreach(DataRow dr in gongyingdt.Rows)%>
					<%if({category_id}=={strtoint({dr[id]})})%>
					<a href="/gongying_list.aspx?category_id={dr[id]}" class="active">{dr[title]}</a>
					<%else%>
					<a href="/gongying_list.aspx?category_id={dr[id]}">{dr[title]}</a>
					<%/if%>
					<%/foreach%>
				</dd>
			</dl>
		</li>
		<li>
			<span>按关键词搜索您想要的供求信息</span>
			<div class="search-box">
                <input type="text" id="" class="search-input" placeholder="搜索您想要的供求信息" name="keyword" >
                <button class="search-btn"></button>
            </div>
		</li>
	</ul>
</div>
<!-- /供求信息筛选 -->
<!-- 供求信息列表 -->
<div class="gongqiuList">
	<div class="l">
		<div class="t">
			<ul><li><a href="/gongying_list.aspx" class="cur">石材供应</a></li><li><a href="/qiugou_list.aspx">石材求购</a></li></ul>
			<div class="tbtn"><a href="javascript:;" target="_blank"><img src="images/pen.png" />发布供求信息</a></div>
		</div>
		<div class="tbList">
			<ul>
				<%set DataTable gongyingList=get_gongying_list(category_id, 20, page, "status=1", out totalcount, out pagelist, "gongying_list","__id__")%>
            	<%foreach(DataRow dr in gongyingList.Rows)%>
				<li>
					<a href="/gongying_show.aspx?id={dr[id]}" target="_blank">
					<img src="http://{dr[img_url]}">
					<div class="tbtxt">
						<div class="bt"><i class="gy">供应</i><h2>{dr[title]}</h2></div>
						<p>尺寸：{dr[size_long]}x{dr[size_wide]}x{dr[size_height]}mm</p>
						<p><span><%datetostr({dr[add_time]},MM-dd)%></span><span>{dr[lianxiren]}</span></p>
					</div>
					</a>
				</li>
				<%/foreach%>
			</ul>
		</div>
		<div class="pagesBox"><div class="manu">{pagelist}</div></div>
	</div>
	<div class="r">
		<div class="ggqyBox">
			<ul>
				<li><a href="#" target="_blank">广告招商中...</a></li>
				<li><a href="#" target="_blank">广告招商中...</a></li>
				<li><a href="#" target="_blank">广告招商中...</a></li>
			</ul>
		</div>
		<div class="qiyerightList">
			<dl>
				<dt><i></i><h2>企业推荐</h2></dt>
				<dd>
					<ul>
						<%set DataTable companyinfolist=get_companyinfo_list(10, "status=1","id desc")%>
						<!--使用foreach循环输出-->
						<%foreach(DataRow dr in companyinfolist.Rows)%>
						<li>
							<a href="<%linkurl("company_show",{dr[id]})%>" target="_blank">
								<h3>{dr[title]}</h3>
								<p>{dr[pro_remark]}</p>
							</a>
						</li>
						<%/foreach%>
					</ul>
				</dd>
			</dl>
		</div>
	</div>
</div>
<!-- /供求信息列表 -->
<!--页面底部-->
<%template src="_footer.html"%>
<!--/页面底部-->
</body>
</html>